/* ======================================================
    <!-- Cascading DropDown List -->
/* ====================================================== */
@import '@uixkit/core/_global/scss/mixins';
@import '@uixkit/core/_global/scss/functions';
@import '@uixkit/core/_global/scss/variables';

.uix-cascading-dropdown-list {
	display: flex;
	align-items: center;
	position: relative;
	z-index: 1;

	.uix-cascading-dropdown-list__items__wrapper {
		position: absolute;
		top: auto;
		left: auto;
		display: block;
		width: 100%; //required
	}
  
	  ul, li {
		  list-style: none;
		  margin: 0;
		  padding: 0;
	  }
  
	  .uix-cascading-dropdown-list__result {
		  font-style: normal;
		  display: inline-block;
		  margin: 0 .5rem;
		  color: #a5a5a5;
		  font-size: 0.75rem;
  
		  span {
			  background: #feffd5;
			  padding: 3px;
			  border-radius: 2px;
		  }
  
		  svg {
			  margin: 0 0.3rem;
		  }
	  }
  
	  .uix-cascading-dropdown-list__trigger {
		  position: relative;
		  z-index: 0;
	  }
  
	  .uix-cascading-dropdown-list__items {
		  box-shadow: 0 5px 15px 0 rgba(0,0,0,.07),0 15px 35px 0 rgba(50,50,93,.1);
		  position: absolute;
		  top: auto;
		  left: auto;
		  max-height: 350px;
		  border: 1px solid rgba(#333, .1);
		  background: #fff;
		  border-radius: 3px;
		  padding: 10px;
		  overflow-y: auto;
		  box-sizing: border-box;
		  z-index: 1;
		  top: calc(100% + 10px);
		  border-radius: 8px;
  
		  //each item
		  ul {
			  transition: .2s ease-out;
  
			  > li {
				  position: relative;
				  cursor: pointer;
				  float: left;
				  padding: 0 10px;
				  margin-right: 15px;
				  border-right: 1px dotted #eee;
  
			  }
  
			  > li:last-child {
				  margin-right: 0;
				  border-right: none;
			  }
		  }
  
	  }
  
  
	  .uix-cascading-dropdown-list__opt {
		  padding: 2px 10px;
		  font-size: 0.875rem;
		  border-radius: 3px;
  
		  &.is-active {
			  background: #f7f7f7;
		  }
	  }
  
  
  
  }
